package OOPS;

class Test48 {
	static {
		System.out.println("OK this is static of Test48");
	}
}

class Test48A {
	static {
		int ab = 10;
		System.out.println("OK this is static of Test48A\t:" + ab);
		// statements
		System.exit(0);
	}
}

class Test48B {
	public static void main(String str[]) {
		new Student7();
		new Student7();
	}
}

class Student7 {
	static {
		System.out.println("OK this is static of Student");
	}
}

class Test48C {
	public static void main(String tr[]) {
		Student7 st = null;
		System.out.println("OK Refrenced Declared");
		st = new Student7();
	}
}

class Test48D {
	public static void main(String tr[]) {
		System.out.println(Hello7.ab);
		System.out.println(Hello7.ab);
		System.out.println(Hello7.ab);
	}
}

class Hello7 {
	static int ab = 90;
	static {
		System.out.println("Static of Hello");
	}
}

class Test48E {
	public static void main(String tr[]) {
		new User();
	}
}

class Person5 {
	static {
		System.out.println("Person static block");
	}
}

class User extends Person5 {
	static {
		System.out.println("User static block");
	}
}